package com.gonsin.gview.logic.config;

import com.gonsin.gview.logic.parser.DynamicModelHolder;
import com.gonsin.gview.model.GViewModel;
import com.gonsin.gview.model.dynamic.DynamicView;

import java.util.List;

/**
 * 动态GView
 */
public interface GViewDynamicViewService {


    /**
     * 添加动态view
     */
    void addDynamicView(String viewName, DynamicView view);


    /**
     * 获取所有动态添加的view版面
     */
    List<DynamicModelHolder> getDynamicViews();
}
